package com.shop.cloud.domain.hongfu;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

/**
 * 
 * banner-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class Banner extends BaseEntity {

	private static final long serialVersionUID = 1L;

	public static final int SKIP_TYPE_NONE = 0;
	public static final int SKIP_TYPE_GOODS = 1;
	public static final int SKIP_TYPE_WEB = 2;
	public static final int SKIP_TYPE_ACTIVITY = 3;

	public static final int STATUS_VALID = 0;
	public static final int STATUS_INVALID = 1;

	/**
	 * banner图片路径
	 */
	@ApiModelProperty(value = "banner图片路径")
	private String image;
	/**
	 * 跳转类型 0：无跳转 1：商品 2：网站 3：活动
	 */
	@ApiModelProperty(value = "跳转类型 0：无跳转 1：商品 2：网站 3：活动")
	private Integer skipType;
	/**
	 * 跳转详情 无跳转时此属性为空 其他填入跳转属性
	 */
	@ApiModelProperty(value = "跳转详情 无跳转时此属性为空 其他填入跳转属性")
	private String skipMsg;
	/**
	 * 定时显示时间
	 */
	@ApiModelProperty(value = "定时显示时间")
	private Timestamp displayTime;
	/**
	 * 定时下架时间
	 */
	@ApiModelProperty(value = "定时下架时间")
	private Timestamp soldoutTime;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Timestamp createTime;
	/**
	 * 状态 0：有效 1：无效
	 */
	@ApiModelProperty(value = "状态 0：有效 1：无效")
	private Integer status;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;

	/**
	 * 是否开放
	 */
	@ApiModelProperty(value = "是否开放")
	private Integer isOpen;

	private Integer isDisplay;

	public Banner() {

	}

	public Integer getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(Integer isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Integer getSkipType() {
		return this.skipType;
	}

	public void setSkipType(Integer skipType) {
		this.skipType = skipType;
	}

	public String getSkipMsg() {
		return this.skipMsg;
	}

	public void setSkipMsg(String skipMsg) {
		this.skipMsg = skipMsg;
	}

	public Timestamp getDisplayTime() {
		return this.displayTime;
	}

	public void setDisplayTime(Timestamp displayTime) {
		this.displayTime = displayTime;
	}

	public Timestamp getSoldoutTime() {
		return this.soldoutTime;
	}

	public void setSoldoutTime(Timestamp soldoutTime) {
		this.soldoutTime = soldoutTime;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsOpen() {
		return isOpen;
	}

	public void setIsOpen(Integer isOpen) {
		this.isOpen = isOpen;
	}

}